package com.asp.aspchain.mmwytransaction.request;

import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 充值交易请求参数类
 * @author zhongzifeng
 */
public class TransactionQueryTradeReq implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * app标示
	 */
	@Size(max=11)
	@NotBlank(message="appmark不能为空")
	private String appmark;
	/**
	 * tokentype值
	 */
	@Size(max=32)
	private String tradeid;
	/**
	 * 业务的订单号
	 */
	@Size(max=32)
	private String orderid;

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public String getAppmark() {
		return appmark;
	}

	public void setAppmark(String appmark) {
		this.appmark = appmark;
	}

	public String getTradeid() {
		return tradeid;
	}

	public void setTradeid(String tradeid) {
		this.tradeid = tradeid;
	}

	public String getOrderid() {
		return orderid;
	}

	public void setOrderid(String orderid) {
		this.orderid = orderid;
	}

	@Override
	public String toString() {
		return "TransactionQueryTradeReq{" +
				"appmark='" + appmark + '\'' +
				", tradeid='" + tradeid + '\'' +
				", orderid='" + orderid + '\'' +
				'}';
	}
}

